package top.xtcoder.jdcbase.base.vo.auth;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import java.util.List;
import java.util.Map;

public class PermBatch {

    @ApiModelProperty(value="角色ID")
    @NotBlank(message ="角色ID不能为空")
    private String roleid;

    @ApiModelProperty(value="权限数组 array[permid][hasBtns] hasBtns-array")
    private Map<String,List<String>> permids;

    public String getRoleid() {
        return roleid;
    }

    public void setRoleid(String roleid) {
        this.roleid = roleid;
    }

    public Map<String, List<String>> getPermids() {
        return permids;
    }

    public void setPermids(Map<String, List<String>> permids) {
        this.permids = permids;
    }
}
